package com.zz.entity;



import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.Id;

import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import com.fasterxml.jackson.annotation.JsonFormat;

@Entity
@EntityListeners(AuditingEntityListener.class)
public class Poreturns {
	@Id
	@Column(length=50)
	private String id;
	private String po_id;
	private String notes;
	@CreatedDate
	private Date retrunsTime;
	private int retrunsNum;
	
	public Date getRetrunsTime() {
		return retrunsTime;
	}
	public void setRetrunsTime(Date retrunsTime) {
		this.retrunsTime = retrunsTime;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPo_id() {
		return po_id;
	}
	public void setPo_id(String po_id) {
		this.po_id = po_id;
	}
	public String getNotes() {
		return notes;
	}
	public void setNotes(String notes) {
		this.notes = notes;
	}
	public int getRetrunsNum() {
		return retrunsNum;
	}
	public void setRetrunsNum(int retrunsNum) {
		this.retrunsNum = retrunsNum;
	}
	
}
